#!/bin/bash
for f in $(ls)
do
    if [[ -d $f && -e $f/restart.sh ]]
    then 
        echo "目录：$f"
        echo "文件：$f/restart.sh"
    fi
done
